﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Laoyang.Web.Models
{
    public class Animal
    {
        private Dog dog { get; set; }
        public Animal(Dog dog)
        {
            this.dog = dog;
        }

        public  string GetName()
        {
            return dog.GetName();
        }
    }
}
